package com.carleasoft.mps.adu.business.role.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.carleasoft.mps.adu.business.role.bean.entity.AuthorityUserDataEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 数据权限表 Mapper 接口
 * </p>
 *
 * @author ztm
 * @since 2021-09-11
 */
@Repository
@Mapper
public interface AuthorityUserDataDao extends BaseMapper<AuthorityUserDataEntity> {

    /**
     * 删除角色数据权限关系
     * @param roleCode
     * @return int
     */
    int deleteUserDataRole(@Param("roleCode") String roleCode);

}
